package com.blog.cloud.sms.service;

import com.blog.cloud.core.utils.R;

public interface SmsService {

    /**
     * 发送短信验证码
     */
    R<String> sendSms(String mobile);

    /**
     * 校验短信验证码
     */
    Boolean validate(String mobile, String code);
}
